package com.bike.mapper;

import com.bike.entity.HhOrder;
import java.util.List;
import com.bike.util.PageData;
import com.github.miemiedev.mybatis.paginator.domain.PageBounds;

public interface HhOrderMapper {
    int deleteByPrimaryKey(Long orderId);

    int insertSelective(HhOrder record);

    HhOrder selectByPrimaryKey(Long orderId);

    int updateByPrimaryKeySelective(HhOrder record);

	List<HhOrder> selectByPage(PageData pd, PageBounds pageBounds);
	
	List<HhOrder> selectByPage(PageData pd);
	
	List<HhOrder> selectAll(PageData pd);

	PageData selectCountOrderAll(PageData pd);

	PageData selectCountOrderSend(PageData pd);

	List<PageData> selectOrderFoodSaleRange(PageData pd);

	PageData sleectCountForHome(PageData pd);
}